home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / standard / getscrbox.z / getscrbox
Encoding:
Text File  |  1998-10-20  |  3.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggeeeettttssssccccrrrrbbbbooooxxxx((((3333GGGG))))                                                    ggggeeeettttssssccccrrrrbbbbooooxxxx((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggeeeettttssssccccrrrrbbbbooooxxxx - read back the current computed screen bounding box
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      vvvvooooiiiidddd ggggeeeettttssssccccrrrrbbbbooooxxxx((((lllloooonnnngggg ****lllleeeefffftttt,,,, lllloooonnnngggg ****rrrriiiigggghhhhtttt,,,, lllloooonnnngggg ****bbbboooottttttttoooommmm,,,, lllloooonnnngggg ****ttttoooopppp))))
  13.  
  14. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  15.      _l_e_f_t     returns the window coordinate of the left-most pixel drawn while
  16.               ssssccccrrrrbbbbooooxxxx has been tracking.
  17.  
  18.      _r_i_g_h_t    returns the window coordinate of the right-most pixel drawn
  19.               while ssssccccrrrrbbbbooooxxxx has been tracking.
  20.  
  21.      _b_o_t_t_o_m   returns the window coordinate of the lowest pixel drawn while
  22.               ssssccccrrrrbbbbooooxxxx has been tracking.
  23.  
  24.      _t_o_p      returns the window coordinate of the highest pixel drawn while
  25.               ssssccccrrrrbbbbooooxxxx has been tracking.
  26.  
  27. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  28.      ggggeeeettttssssccccrrrrbbbbooooxxxx returns the current screen bounding box. ssssccccrrrrbbbbooooxxxx is the computed
  29.      bounding box of all geometry (points, lines, polygons) in screen-space.
  30.      The hardware updates the four values each time geometry is drawn (while
  31.      ssssccccrrrrbbbbooooxxxx is tracking).
  32.  
  33.      If _l_e_f_t is greater than _r_i_g_h_t, or _b_o_t_t_o_m is greater than _t_o_p, nothing has
  34.      been drawn since ssssccccrrrrbbbbooooxxxx was reset.
  35.  
  36. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  37.      scrbox
  38.  
  39. NNNNOOOOTTTTEEEE
  40.      This routine is available only in immediate mode.
  41.  
  42.      IRIS-4D G, GT, and GTX models, and the Personal Iris, do not support
  43.      ssssccccrrrrbbbbooooxxxx, and therefore do not support ggggeeeettttssssccccrrrrbbbbooooxxxx.  Use ggggeeeettttggggddddeeeesssscccc to
  44.      determine whether ssssccccrrrrbbbbooooxxxx is supported.
  45.  
  46.      On the IRIS-4D RealityEngine model ggggeeeettttssssccccrrrrbbbbooooxxxx returns the trivial
  47.      rectangle defined by ssssccccrrrrmmmmaaaasssskkkk.
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.